package FileIOStream;

import java.io.File;

/**
 * @Author liangzai
 * @Description:
 */
public class Demo2 {
    public static void main(String[] args) {
        File file = new File("./test.tet");

        System.out.println(file.exists());
        System.out.println(file.isDirectory());
        System.out.println(file.isFile());

        file.delete();
        System.out.println(file.mkdirs());
    }
}
